dns srv2ip
This command configures the Internal SRV table, which lets you resolve hostnames into DNS A-Records.
Syntax
(config-network)# dns srv2ip <Index> (srv2ip-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
dns-name-1 |
Defines the first, second or third DNS A-Record to which the host name is translated. |
dns-name-2 |
|
dns-name-3 |
|
domain-name |
Defines the host name to be translated. |
port-1 |
Defines the port on which the service is to be found. |
port-2 |
|
port-3 |
|
priority-1 |
Defines the priority of the target host. A lower value means that it is more preferred. |
priority-2 |
|
priority-3 |
|
transport-type {udp|tcp|tls} |
Defines the transport type. |
weight-1 |
Configures a relative weight for records with the same priority. |
weight-2 |
|
weight-3 |
Command Mode
Privileged User
Example
This example configures DNS SRV to IP address 208.93.64.253:
(config-network)# dns srv2ip 0 (srv2ip-0)# domain-name proxy.com (srv2ip-0)# transport-type tcp (srv2ip-0)# dns-name-1 208.93.64.253